package com.totoro.mapstruct.mapstruct_field_mapping.bean;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

/**
 * Created by Niki on 2018/9/26 16:59
 */
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class OrderItem {
    private String name;
    private Long quantity;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Long getQuantity() {
        return quantity;
    }

    public void setQuantity(Long quantity) {
        this.quantity = quantity;
    }
}
